package com.note.service.impl;


import com.note.domain.SysUserNoted;
import com.note.mapper.SysUserNotedMapper;
import com.note.service.ISysUserNotedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2021-01-07
 */
@Service
public class SysUserNotedServiceImpl implements ISysUserNotedService
{
    @Autowired
    private SysUserNotedMapper sysUserNotedMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public SysUserNoted selectSysUserNotedById(Long id)
    {
        return sysUserNotedMapper.selectSysUserNotedById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param sysUserNoted 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<SysUserNoted> selectSysUserNotedList(SysUserNoted sysUserNoted)
    {
        return sysUserNotedMapper.selectSysUserNotedList(sysUserNoted);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param sysUserNoted 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertSysUserNoted(SysUserNoted sysUserNoted)
    {
        return sysUserNotedMapper.insertSysUserNoted(sysUserNoted);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param sysUserNoted 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateSysUserNoted(SysUserNoted sysUserNoted)
    {
        return sysUserNotedMapper.updateSysUserNoted(sysUserNoted);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteSysUserNotedByIds(Long[] ids)
    {
        return sysUserNotedMapper.deleteSysUserNotedByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deleteSysUserNotedById(Long id)
    {
        return sysUserNotedMapper.deleteSysUserNotedById(id);
    }
}
